package com.example.flipview;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);


        PageWidget pageWidget = (PageWidget) findViewById(R.id.pageWidget);
        //		PageWidgetAdapter adapter = new PageWidgetAdapter(this);
        //		pageWidget.setAdapter(adapter);
        PageWidgetAdapter1 adapter = new PageWidgetAdapter1(this);
        pageWidget.setAdapter(adapter);
    }
}
